{{~it.materials :material:index}}
<span class="image-container" data-index="{{=index}}">
  <img src="{{=it.fullPath + '/' + material.image}}" />
</span>
{{~}}